package com.qf.entity.vo;

import com.qf.entity.Classroom;
import com.qf.entity.Student;
import com.qf.entity.Subject;
import lombok.*;

import java.util.List;

// 创建一个学生和班级的关联对象

@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@AllArgsConstructor // 有参构造
@NoArgsConstructor // 无参构造
public class StudentVO extends Student {
    private Classroom classroom;
    // 封装多个学科信息
    private List<Subject> subjectList;
}
